package com.zlt.service;

import com.zlt.dto.VipLogDTO;
import com.zlt.entity.ChargeRecord;
import com.zlt.entity.Vip;
import com.zlt.entity.VipLog;
import com.zlt.vo.JobVo;
import com.zlt.vo.UserVipVO;
import com.zlt.vo.VipLogVO;
import com.zlt.vo.VipVO;

import java.util.List;

public interface VipService {
    List<VipVO> selectVipAllType();

    boolean charge(VipLogDTO vipLogDTO);

    int insertChargeLog(VipLogDTO vipLogDTO);

    Vip selectVipType(Integer vid);

    UserVipVO selectVipState(String uid);

    List<JobVo> selectVipJobs();

    List<JobVo> selectRecentJobs(int limit);


    List<VipLogVO> selectVipLogs(String uid);

    int insertChargeRecord(VipLogDTO vipLogDTO);

    ChargeRecord selectChargeRecord(String out_trade_no);
}
